package com.gg.fmallspringboot.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.gg.fmallspringboot.entity.ProductImg;
import com.gg.fmallspringboot.mapper.ProductImgMapper;
import com.gg.fmallspringboot.service.ProductImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 作者:Miki
 * 时间:2021/6/22 9:50
 */
@Service
public class ProductImgServiceImpl implements ProductImgService {

    @Autowired
    private ProductImgMapper productImgMapper;
    @Override
    public ProductImg getOneByProId(String proId) {

        return productImgMapper.selectOne(proId);
    }
}
